<?php



class TblMemberCommSumBackupMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.TblMemberCommSumBackupMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('mgig');

		$tMap = $this->dbMap->addTable('tbl_member_comm_sum_backup');
		$tMap->setPhpName('TblMemberCommSumBackup');

		$tMap->setUseIdGenerator(true);

		$tMap->addColumn('F_ID', 'FId', 'string', CreoleTypes::BIGINT, true, null);

		$tMap->addColumn('F_DIST_ID', 'FDistId', 'string', CreoleTypes::BIGINT, true, null);

		$tMap->addColumn('F_DSB', 'FDsb', 'double', CreoleTypes::DECIMAL, true, 15);

		$tMap->addColumn('F_GDB', 'FGdb', 'double', CreoleTypes::DECIMAL, true, 15);

		$tMap->addColumn('F_GAP', 'FGap', 'double', CreoleTypes::DECIMAL, true, 15);

		$tMap->addColumn('F_ELB', 'FElb', 'double', CreoleTypes::DECIMAL, true, 15);

		$tMap->addColumn('F_WPB', 'FWpb', 'double', CreoleTypes::DECIMAL, true, 15);

		$tMap->addColumn('F_BONUS_DATE', 'FBonusDate', 'int', CreoleTypes::DATE, true, null);

		$tMap->addColumn('F_DATETIME', 'FDatetime', 'int', CreoleTypes::TIMESTAMP, true, null);

		$tMap->addPrimaryKey('ID', 'Id', 'int', CreoleTypes::INTEGER, true, null);

	} 
} 